package com.yf.service.course;


import com.yf.entity.course.ActivityEntity;
import com.yf.service.BaseService;
import com.yf.vo.ActivityVO;

import java.util.List;

/**
 * 活动Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Fri Oct 26 15:01:00 CST 2018
 */
public interface ActivityService extends BaseService<ActivityEntity> {
    //最新活动
    ActivityEntity getLast();


    //活动列表
    List<ActivityEntity> getAll();

    //活动banner
    List<ActivityVO> getBanner();

    //活动详情
    ActivityEntity getActivity(Long userId,Long activityId);

}
